<?php 
/**
 * Assigns new variable.
 * @param Array $params
 * @param Smarty $smarty
 * @return String
 */
function smarty_function_set($params, &$smarty) {
	foreach( $params as $key => $value ) {
		$smarty->assign($key, $value );
	}
}


?>